home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Mania 6
/
MacMania 6.toast
/
/
Internet software
/
PageSpinner 2.01
/
PageSpinner Extensions
/
More JavaScripts
/
More JavaScripts.rsrc
/
TEXT_209.txt
< prev
next >
Wrap
Text File
|
1997-06-07
|
274b
|
16 lines
function hideBetween (theText, altText, startAt, stopAt)
{
var now = new Date();
var h = now.getHours();
if (startAt <= stopAt)
{
if ( h >= startAt & h <= stopAt)
return(altText)
else
return (theText);
}
return ('** ERROR in JavaScript hideBetween **');
}